Optimal. Leaf size=31 \[ \frac {e x \left (a+b x^n\right )^{1+p} \left (c+d x^n\right )^{1+p}}{a c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 69, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.014, Rules used = {1911}
\begin {gather*} \frac {e x \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{a c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1911
Rubi steps
\begin {align*} \int \left (a+b x^n\right )^p \left (c+d x^n\right )^p \left (e+\frac {(b c+a d) e (1+n+n p) x^n}{a c}+\frac {b d e (1+2 n+2 n p) x^{2 n}}{a c}\right ) \, dx &=\frac {e x \left (a+b x^n\right )^{1+p} \left (c+d x^n\right )^{1+p}}{a c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.62, size = 31, normalized size = 1.00 \begin {gather*} \frac {e x \left (a+b x^n\right )^{1+p} \left (c+d x^n\right )^{1+p}}{a c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.51, size = 52, normalized size = 1.68
method | result | size |
risch | \(\frac {\left (a +b \,x^{n}\right )^{p} \left (b d \,x^{2 n}+a d \,x^{n}+b c \,x^{n}+a c \right ) e x \left (c +d \,x^{n}\right )^{p}}{a c}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.37, size = 64, normalized size = 2.06 \begin {gather*} \frac {{\left (a c x e + b d x e^{\left (2 \, n \log \left (x\right ) + 1\right )} + {\left (b c + a d\right )} x e^{\left (n \log \left (x\right ) + 1\right )}\right )} e^{\left (p \log \left (b x^{n} + a\right ) + p \log \left (d x^{n} + c\right )\right )}}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 54, normalized size = 1.74 \begin {gather*} \frac {{\left (b d e x x^{2 \, n} + a c e x + {\left (b c + a d\right )} e x x^{n}\right )} {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p}}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 115 vs.
\(2 (32) = 64\).
time = 0.87, size = 115, normalized size = 3.71 \begin {gather*} \frac {{\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} b d x x^{2 \, n} e + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} b c x x^{n} e + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} a d x x^{n} e + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} a c x e}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.30, size = 76, normalized size = 2.45 \begin {gather*} {\left (c+d\,x^n\right )}^p\,\left (e\,x\,{\left (a+b\,x^n\right )}^p+\frac {e\,x\,x^n\,\left (a\,d+b\,c\right )\,{\left (a+b\,x^n\right )}^p}{a\,c}+\frac {b\,d\,e\,x\,x^{2\,n}\,{\left (a+b\,x^n\right )}^p}{a\,c}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________